package com.a.b.c.d.e.service.impl;

import com.a.b.c.d.e.entities.User;
import com.a.b.c.d.e.mapper.UserMapper;
import com.a.b.c.d.e.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created on 2021/12/23.
 *
 * @author yanshuchun
 */
@Service
public class UserServiceImpl implements IUserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public List<User> getAll() {
        return userMapper.selectList(null);
    }

}
